// app/contract/response/base.js
'use strict';

module.exports = {
    // 测试模块
    testResponse: {
        message: { type: 'string' }
    },
    baseResponse: {
        code: { type: 'number', },
        data: {
            type: 'object',
            properties: {
                "type": "string",
            }
        },
        msg: { type: 'string' }
    },
    userData: {
        userName: { type: 'string' },
        sex: { type: 'number' },
        userHeader: { type: 'string' },
        phone: { type: 'number' },
        password: { type: 'string' },
        openId: { type: 'string' },
        isVip: { type: 'number' },
        isbingwechat: { type: 'number' }
    }
};